//
//  ScheduleDBService.h
//  NJUSTHelper
//
//  Created by 郑越辉 on 2017/9/19.
//  Copyright © 2017年 njust. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <FMDB.h>
#import "DataBase.h"
@interface ScheduleDBService : NSObject

/* 清空对应用户的课表 */
+(NSInteger)removeAllSchedule4UserId:(NSString *)userId;
/* 课表写入数据库 */
+(NSInteger)addSchedulesToDataBaseWithModel:(NSMutableArray *)scheduleArray;
/* 获取用户的课表 */
+(NSMutableArray *)getAllScheduleByUserId:(NSString *)userId;
/* 获取用户的星期几的课 */
+(NSMutableArray *)getScheduleByWeekDay:(NSInteger)weekDay UserId:(NSString *)userId;
@end
